package com.maoyan.quickdevelop.controller.dqinterview;

import com.maoyan.quickdevelop.common.core.AjaxResult;
import com.maoyan.quickdevelop.common.core.domain.DqType;
import com.maoyan.quickdevelop.system.service.IDqTypeService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.List;

@RestController
@RequestMapping("/dqinterviewType")
public class DqInterviewTypeController {

    @Resource
    private IDqTypeService dqTypeService;

    @RequestMapping("/list")
    public AjaxResult list() {
        List<DqType> list= dqTypeService.selectDqTypeByPid(3);
        // List<InterviewTypeVO> list = InterviewTypeVO.getList();
        return AjaxResult.success(list);
    }

}
